package com.sikaryofficial.backend.domain.dto.resp.productactivity;

import com.sikaryofficial.backend.domain.dto.resp.AddressUserListDTO;
import com.sikaryofficial.common.core.annotation.LocalDateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 中奖结果不加密出参
 *
 * @author qinjinyuan
 * @date 2023-10-30
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "中奖结果不加密出参", description = "中奖结果出参")
public class ActivityResultNoMaskDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 抽奖结果表ID
     */
    @ApiModelProperty(value = "抽奖结果表ID")
    private Long activityResultId;
    /**
     * 活动ID
     */
    @ApiModelProperty(value = "活动ID", example = "12.2435")
    private Long activityId;

    /**
     * 预约ID
     */
    @ApiModelProperty(value = "预约ID", example = "12.2435")
    private Long activityReserveId;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人", example = "1332435")
    private Long createdBy;
    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人账号", example = "12.2435")
    private String createdName;

    /**
     * 创建时间
     */
    @LocalDateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "获奖时间", example = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    /**
     * 奖品发放状态 0-未发放 1-已发放
     */
    @ApiModelProperty(value = "奖品发放状态 0-未发放 1-已发放", example = "0")
    private Integer prizeGrantStatus;

    @ApiModelProperty(value = "发货地址信息", example = "0")
    private AddressUserListDTO addressObj;

    @ApiModelProperty(value = "21岁证明地址", example = "sikary/2024/03/29/20240329062702A216.jpeg")
    private String proofUrl;

    @ApiModelProperty(value = "是否有21岁证明地址,有:true 无:false ", example = "false")
    private boolean hasProofUrl;
    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称", example = "张三")
    private String nickName;
    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱", example = "1332435")
    private String email;

    @ApiModelProperty(value = "发货信息的邮箱")
    private String deliveryEmail;

    @ApiModelProperty(value = "支付账号")
    private String account;

    /**
     * 邮编(可选)
     */
    @ApiModelProperty(value = "邮编(可选)")
    private String postCode;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号", example = "135****8888")
    private String phoneNumber;

    /**
     * 名字
     */
    @ApiModelProperty(value = "名字", example = "张三")
    private String firstName;

    /**
     * 姓
     */
    @ApiModelProperty(value = "姓", example = "张")
    private String lastName;
}
